#
# Cookbook Name:: initConfig
# Recipe:: install
# Install and setup basic libraries and user setup.
# Copyright 2014, IBM
#
# All rights reserved - Do Not Redistribute
#


bash "install patch and gcc" do
	user "root"
	group "root" 	
	code <<-EOH
	  rpm -q patch
	  if [ $? -ne 0 ]
	  then	
		yum -y install patch   
	  fi 
	  rpm -q gcc
	  if [ $? -ne 0 ]
	  then	
		yum -y install gcc   
	  fi 
	EOH
end